package com.ciei.dpagm.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;


/**
 * Company entity. @author MyEclipse Persistence Tools
 */
@TableName(value = "common_company")
public class Company  implements java.io.Serializable {

    // Fields    
    @TableId(type = IdType.AUTO)
     private Integer companyId;
     private String companyName;
     private String province;
     private String city;
     private String country;
     private String areaCode;
     private String address;
     private String fullAddress;
     private String post;
     private String webUrl;
     private String introduce;
     private Integer kind;
     private Integer ceoId;
     private Integer viceCeoId;
     private Integer ctoId;
     private Integer viceCtoId;
    @TableField(fill = FieldFill.INSERT)
     private Date createDate;
    @TableField(fill = FieldFill.UPDATE)
     private Date modifyDate;
     private Integer stateId;
    @TableField(fill = FieldFill.INSERT)
     private Integer isDelete;
     private Integer technicianId;
     private Integer parentCompanyId;
     private String levelCode;
     private Integer isMain;
     


    // Constructors

    /** default constructor */
    public Company() {
    }

	/** minimal constructor */
    public Company(Integer companyId) {
        this.companyId = companyId;
    }
    
    /** full constructor */
    public Company(Integer companyId, Date createDate, Date modifyDate, String companyName, String province, String city, String country,
    		String areaCode, String address, String fullAddress, String post, String webUrl, String introduce, Integer kind,
    		Integer ceoId, Integer viceCeoId,Integer ctoId, Integer viceCtoId,
    		Integer isOnline,Integer isDelete,Integer technicianId,Integer parentCompanyId,String levelCode
    		) {
        this.companyId = companyId;
        this.createDate = createDate;
        this.modifyDate = modifyDate;
        this.companyName = companyName;
        this.province = province;
        this.city = city;
        this.setCountry(country);
        this.setAreaCode(areaCode);
        this.address = address;
        this.setFullAddress(fullAddress);
        this.post = post;
        this.webUrl = webUrl;
        this.introduce = introduce;
        this.kind = kind;
        this.ceoId=ceoId;
        this.viceCeoId=viceCeoId;
        this.ctoId=ctoId;
        this.viceCtoId=viceCtoId;
        this.setStateId(stateId);
        this.setIsDelete(isDelete);
        this.setTechnicianId(technicianId);
        this.parentCompanyId = parentCompanyId;
        this.levelCode = levelCode;
    }

   
    public Integer getCompanyId() {
        return this.companyId;
    }
    
    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

/*    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@JSONField (format="yyyy-MM-dd HH:mm:ss")*/
    public Date getCreateDate() {
        return this.createDate;
    }
    
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return this.modifyDate;
    }
    
    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getCompanyName() {
        return this.companyName;
    }
    
    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getProvince() {
        return this.province;
    }
    
    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return this.city;
    }
    
    public void setCity(String city) {
        this.city = city;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public String getPost() {
        return this.post;
    }
    
    public void setPost(String post) {
        this.post = post;
    }

    public String getWebUrl() {
        return this.webUrl;
    }
    
    public void setWebUrl(String webUrl) {
        this.webUrl = webUrl;
    }

    public String getIntroduce() {
        return this.introduce;
    }
    
    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Integer getKind() {
        return this.kind;
    }
    
    public void setKind(Integer kind) {
        this.kind = kind;
    }

	public Integer getCeoId() {
		return ceoId;
	}

	public void setCeoId(Integer ceoId) {
		this.ceoId = ceoId;
	}

	public Integer getViceCeoId() {
		return viceCeoId;
	}

	public void setViceCeoId(Integer viceCeoId) {
		this.viceCeoId = viceCeoId;
	}

	public Integer getCtoId() {
		return ctoId;
	}

	public void setCtoId(Integer ctoId) {
		this.ctoId = ctoId;
	}

	public Integer getViceCtoId() {
		return viceCtoId;
	}

	public void setViceCtoId(Integer viceCtoId) {
		this.viceCtoId = viceCtoId;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getFullAddress() {
		return fullAddress;
	}

	public void setFullAddress(String fullAddress) {
		this.fullAddress = fullAddress;
	}

	public Integer getStateId() {
		return stateId;
	}

	public void setStateId(Integer stateId) {
		this.stateId = stateId;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getTechnicianId() {
		return technicianId;
	}

	public void setTechnicianId(Integer technicianId) {
		this.technicianId = technicianId;
	}

	public Integer getParentCompanyId() {
		return parentCompanyId;
	}

	public void setParentCompanyId(Integer parentCompanyId) {
		this.parentCompanyId = parentCompanyId;
	}

	public String getLevelCode() {
		return levelCode;
	}

	public void setLevelCode(String levelCode) {
		this.levelCode = levelCode;
	}

	public Integer getIsMain() {
		return isMain;
	}

	public void setIsMain(Integer isMain) {
		this.isMain = isMain;
	}

	

}